﻿ALTER TABLE [dbo].[InfoMessages]
    ADD CONSTRAINT [FK_InfoMessages] FOREIGN KEY ([ParentEventId], [ParentServiceName]) REFERENCES [dbo].[ServiceStatuses] ([ParentEventId],[ServiceName]) ON DELETE CASCADE ON UPDATE NO ACTION;

